<?php

class Model_User implements Acl_Role_Interface {

    public function get_role_id()
    {
        $roles = array();
        // We need to explicitly call find_all() to get the roles. Lazy loading...
/*
        $my_roles = $this->roles->find_all();
        foreach ($my_roles as $role)
        {
            // Now grab the names of the roles. Used on the ACL module
            $roles[] = $role->name;
        }
*/
        return $roles;
    }

} // End User Model